Skip to content

test(wtr): change jasmine globals to explicit imports @W-19098266#5490

Merged
wjhsf merged 48 commits intomasterfrom
wjh/wtr-less-jasmine
Sep 16, 2025
Merged

test(wtr): change jasmine globals to explicit imports @W-19098266#5490
wjhsf merged 48 commits intomasterfrom
wjh/wtr-less-jasmine

Conversation

@wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Sep 12, 2025

Details

To make all dependencies more clear/explicit, this PR removes the jasmine globals and replaces them with explicit imports. The jasmine adapters are a consequence of Karma and WTR using different assertion libraries (jasmine vs chai), and should eventually be removed.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.
  • 💔 Yes, it does introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.
  • 🔬 Yes, it does include an observable change.

GUS work item

wjhsf and others added 30 commits September 2, 2025 18:01
There's no setup/teardown needed, it's a single test, and WTR provides per-file encapsulation
working toward just importing and executing things, but not quite there yet
two env vars for the same goal is unnecessary
I think the last one was a concurrency related timeout,
which was previously addressed.
helper files shouldn't have side effects; all setup should be in the setup file
all tests are run in isolation
@wjhsf wjhsf requested a review from a team as a code owner September 12, 2025 19:11
@wjhsf wjhsf changed the base branch from master to wjh/wtr-test-utils-hydration September 12, 2025 19:11
Base automatically changed from wjh/wtr-test-utils-hydration to master September 16, 2025 19:52
@wjhsf wjhsf enabled auto-merge (squash) September 16, 2025 19:53
@wjhsf
Copy link
Contributor Author

wjhsf commented Sep 16, 2025

/nucleus ignore --reason meh

@wjhsf wjhsf merged commit 6aae4b0 into master Sep 16, 2025
7 checks passed
@wjhsf wjhsf deleted the wjh/wtr-less-jasmine branch September 16, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants